/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mapbar.pay.util;

import com.mapbar.pay.entity.User;
import javax.servlet.http.Cookie;

/**
 *
 * @author fengbj
 * @param
 * 用户相关的操作
 */
public class UserUtil {

    /**
     * 
     * 验证是否登录
     * @param userName 用户名
     * @param pwd 密码
     * @return  User实体，为<code>null</code>则登录失败
     */
    public static User checkLogon(String userName , String pwd){
        return null;

    }

    public static User checkLogon(Cookie [] cookies){
        return null;
    }
}
